class LogInStrDlg
attr_accessor :name,:password,:method
    def initialize(parent) 
        super(parent)
        @method,@name,@password = @m_textctrl11,@m_textctrl12,@m_textctrl13
        list=["connect","One",""]
        [@method,@name,@password].each_with_index {|a,i|
          a.value = list[i]
        }
    end
end